/**
 * EDD Admin CSS
 *
 * @package     EDD
 * @subpackage  Admin CSS
 * @copyright   Copyright (c) 2013, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/

/* =Add Ons Styles
-------------------------------------------------------------- */
#edd-add-ons h2 { margin: 0 0 15px; }
#edd-add-ons .edd-extension { float: left; margin: 0 30px 30px 0; background: #f0f0f0; border: 1px solid #ccc; width: 180px; padding: 8px; height: 315px; position: relative; }
#edd-add-ons .edd-extension h3 { margin: 0 0 8px; font-size: 13px;  }
#edd-add-ons .edd-extension .button-secondary { position: absolute; bottom: 8px; left: 8px; }
#edd-add-ons .edd-browse-all { clear:both; width:100%; }
#edd-add-ons .edd-extension .third-party { display: none; }

/* Discount Code Styles
-------------------------------------------------------------- */
#edd-products { height: 100px; min-width: 200px; }
#edd-add-discount input[type="checkbox"], #edd-edit-discount input[type="checkbox"] { width: 15px; display: inline; }

/* Payment History Styles
-------------------------------------------------------------- */
tr.status-refunded td { background: #cecece; border-top-color: #ccc; }
.wp-list-table.downloads th#ID { width: 80px; }
.wp-list-table.downloads th#details { width: 130px; }
.wp-list-table.downloads th#date { width: 140px; }
.wp-list-table.downloads th#user { width: 130px; }
.edd-mobile-link { line-height: 32px; vertical-align: middle; }
.edd-mobile-link img { max-width: 80%; height: auto; float: left; }
@media handheld, only screen and (max-width: 640px) {
	.wp-list-table.downloads th { width: auto!important;}
}

/* Metabox Styles
-------------------------------------------------------------- */
.edd_file_help_labels { }
.edd_files_name_label { width: 225px; float: left; }
.edd_files_url_label { width: 220px; float: left; }
#postbox-container-1 .edd_files_name_label { width: 80px; }
#postbox-container-1 .edd_files_url_label { width: 80px; }
.edd_add_repeatable { display: inline-block; }
#downloadinformation .edd_meta_table_wrap table input,
#downloadinformation .edd_meta_table_wrap table select,
#downloadinformation .edd_meta_table_wrap table textarea { margin: 4px 0; width: 100%; }
#downloadinformation .edd_meta_table_wrap table .submit input { width: auto; }
.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container { position: relative; }
.edd_upload_file { position: absolute; top: 5px; right: 3px; padding: 2px 8px 2px; display: block; background: #fff; }
.edd_remove_repeatable { margin: 11px 0 0 0; cursor: pointer; width: 10px; height: 10px; display: inline-block; text-indent: -9999px; overflow: hidden; }
.edd_remove_repeatable:active, .edd_remove_repeatable:hover { background-position: -10px 0!important }
.edd_draghandle { display: block; width: 20px; height: 20px; background: url(../images/edd-cross-hair.png); cursor: move; margin: 4px 0 0 0; }
textarea#edd_product_notes { width: 100%; height: 4em; margin: 0; }
#edd-order-totals .inside { margin: 0; padding: 0; }
.edd-admin-box .label { font-weight: 600; }
.edd-admin-box-inside { margin: 0; padding: 5px 0 5px 10px; clear: both; border-bottom: 1px solid #ddd; }
.rtl .edd-admin-box-inside { padding: 5px 10px 5px 0; }
.edd-admin-box-inside .strong { font-weight: 600; }
.edd-payment-fees .fee-label { font-weight: normal; color: #666; }
.edd-admin-box .right { float: right; margin-right: 10px; }
.rtl .edd-admin-box .right { float: left; margin-left: 10px; }
#edd-order-data .order-id { color: #666; font-size: 14px; }
#edd-order-data .column-container { clear: both; overflow: hidden; }
#edd-order-data .order-data-column { float: left; width: 31%; padding: 0 2% 0 0; }
#edd-order-data .data span { color: #666; font-weight: 600; }
#edd-purchased-files .inside { margin: 0; padding: 0; }

.edd-price-field { width: 80px; }

/** Stats */
#edd_product_stats .label { width: 70px; display: inline-block; }
#edd_product_stats hr { border-style: solid; border-width: 1px; border-color: #ccc #fff #fff #ccc; }

/* Dashboard Widget Styles
-------------------------------------------------------------- */
.edd_dashboard_widget .table { margin: 20px 0 0 0; padding: 0; position: relative; border-top: 1px solid #ececec; }
.edd_dashboard_widget .table_left { float: left; width: 45%;  }
.edd_dashboard_widget .table_right { float: right; width: 45%;  }
.edd_dashboard_widget .sub { margin: 0 0 8px 12px; padding: 12px 0 0 0; color: #8f8f8f; font-size: 14px; position: absolute; top: -40px; left: 0; }
.edd_dashboard_widget .table table, .edd_dashboard_widget .table div { margin: 0 0 0 12px; }
.edd_dashboard_widget .inside { font-size: 12px; }
.edd_dashboard_widget td { padding: 3px 0; }
.edd_dashboard_widget .b { font-size: 14px; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; text-align: right; padding-right: 6px; width: auto; }
.edd_dashboard_widget .t { font-size: 12px; padding-right: 12px; padding-top: 6px; color: #777; }
.edd_dashboard_widget .lifetime_best_selling_label,
.edd_dashboard_widget .best_selling_30_days_label { background: rgb(0, 118, 156); padding: 2px 4px; border-radius: 3px; color: white; margin-right: 2px; }
.edd_dashboard_widget .label_heading { margin: 0 0 8px 12px; display: block; font-size: 12px; font-family: Helvetica, Arial, sans-serif; color: #8f8f8f; font-weight: normal; padding-top: 10px; border-top: 1px solid #ececec; }
.edd_dashboard_widget .edd_dashboard_widget_subheading { margin: 1em 0 0 12px; border-top: 1px solid #ececec; padding-top: 10px; color: #8f8f8f; font-size: 14px; }
.edd_dashboard_widget .edd_dashboard_widget_subheading + .table { margin: 8px 0 0 0; }
.edd_dashboard_widget .edd_price_label { background: rgb(0, 118, 156); padding: 2px 4px; border-radius: 3px; color: white; margin-right: 2px; font-size: 10px; }


/* Reports Styles
-------------------------------------------------------------- */
#edd-graphs-date-options,
#edd-date-range-options { float: left; }
#edd-date-range-options span { float: left; margin-right: 6px; height: 24px; line-height: 24px; }

/* Upgrades page styles
-------------------------------------------------------------- */

/* Settings page styles
-------------------------------------------------------------- */
#edd_tax_rates .edd_tax_country { width: 180px; }
#edd_tax_rates .edd_tax_state { width: 180px; }
#edd_tax_rates .edd_tax_rate { width: 80px; }
#edd_tax_rates .edd_tax_country *,
#edd_tax_rates .edd_tax_state * { max-width: 100%; }

/* System Info page styles
-------------------------------------------------------------- */
#system-info-textarea { width: 800px; height: 400px; font-family: Menlo, Monaco, monospace; background: none; white-space: pre; overflow: auto; display: block; }

/* Button styles
-------------------------------------------------------------- */
#TB_window #edd-add-download:hover, #TB_window #edd-add-download:active, #TB_window #edd-add-download:focus { color: #fff; }

/* General styles
-------------------------------------------------------------- */
.edd-select-chosen { width: 300px; }

.chzn-container-multi .chzn-choices{ -webkit-border-radius: 3px; border-radius: 3px; border-color: #dfdfdf; background-image:none; }
.chzn-container-multi .chzn-choices li.search-field input{ margin:2px; height:auto; border-color: #dfdfdf; }
.chzn-container .chzn-drop { border-color: #aaa; -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); }
.chzn-container-active .chzn-choices { -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -webkit-border-bottom-left-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: #aaa; -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); }